/*
5. Write a boolean expression for finding if the bit 3 (counting from 0) of a given integer is 1 or 0.
*/
using System;

class zadachaPeta
{
    static void Main()
    {
        Console.Write("Enter an integer: ");
        int checkedNumber = int.Parse(Console.ReadLine());
		
		int mask = 1<<3;
		if((checkedNumber & mask) == 0) Console.WriteLine("The third digit is ZERO");
		else Console.WriteLine("The third digit is not zero");
    }
}